#ifndef __rem_h
#define __rem_h

#define    p_rem    P1_1
#define  c_t1_value_15ms      55296
#define  c_t1_value_12ms      44237
#define  c_t1_value_3ms       11059
#define  c_t1_value_1313us    4840

#define  bit15          0x8000
#ifdef __rem_c

uint16_t    d_rem_addr;
uint16_t d_rem_data;
uint8_t d_th1_tmp;
uint8_t d_rem_bit_count;
uint8_t d_rem_step;
uint8_t d_rem_key;
#else
extern uint16_t    d_rem_addr;
extern uint16_t d_rem_data;
extern uint8_t d_th1_tmp;
extern uint8_t d_rem_bit_count;
extern uint8_t d_rem_step;
extern uint8_t d_rem_key;

#endif
void rem_invalid(void);
void remControl();

#endif
